package com.hs.room.model.archive

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 档案变更日志
 */
@Entity(tableName = "archive_change_log")
data class ArchiveChange(
    @PrimaryKey(autoGenerate = true)
    val localId: Long,//本地数据库主键
    @ColumnInfo
    var id: Long,//服务器返回ID

    @ColumnInfo
    var archiveName: String,//档案名称
    @ColumnInfo
    var archiveNumber: String,//档案编号
    @ColumnInfo
    var archiveTypeUUId: String,//档案类型
    @ColumnInfo
    var archiveRFIDCode: String,//标签码
    @ColumnInfo
    var archiveLevelUUId: String,//档案级别
    @ColumnInfo
    var caseNumber: String,//案件编号
    @ColumnInfo
    var caseName: String,//案件名称
    @ColumnInfo
    var archiveDescription: String,//档案描述
    @ColumnInfo
    var storageLocation: String,//存放位置，例如档案柜编号
    @ColumnInfo
    var archiveName_: String,//档案名称
    @ColumnInfo
    var archiveNumber_: String,//档案编号
    @ColumnInfo
    var archiveTypeUUId_: String,//档案类型
    @ColumnInfo
    var archiveRFIDCode_: String,//标签码
    @ColumnInfo
    var archiveLevelUUId_: String,//档案级别
    @ColumnInfo
    var caseNumber_: String,//案件编号
    @ColumnInfo
    var caseName_: String,//案件名称
    @ColumnInfo
    var archiveDescription_: String,//档案描述
    @ColumnInfo
    var storageLocation_: String,//存放位置，例如档案柜编号
    @ColumnInfo
    var userID: String,//操作人id
    @ColumnInfo
    var userName: String,//操作人名
    @ColumnInfo
    var userNo: String,//操作人工号
)
